package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 t_label
 * 
 * @author ruoyi
 * @date 2022-04-29
 */
public class TLabel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 标签id */
    private Long labelId;

    /** 标签名称 */
    @Excel(name = "标签名称")
    private String labelName;

    /** 备注 */
    @Excel(name = "备注")
    private String labelNote;

    private String labelCompany;

    public String getLabelCompany() {
        return labelCompany;
    }

    public void setLabelCompany(String labelCompany) {
        this.labelCompany = labelCompany;
    }

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date labelTime;

    public void setLabelId(Long labelId) 
    {
        this.labelId = labelId;
    }

    public Long getLabelId() 
    {
        return labelId;
    }
    public void setLabelName(String labelName) 
    {
        this.labelName = labelName;
    }

    public String getLabelName() 
    {
        return labelName;
    }
    public void setLabelNote(String labelNote) 
    {
        this.labelNote = labelNote;
    }

    public String getLabelNote() 
    {
        return labelNote;
    }
    public void setLabelTime(Date labelTime) 
    {
        this.labelTime = labelTime;
    }

    public Date getLabelTime() 
    {
        return labelTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("labelId", getLabelId())
            .append("labelName", getLabelName())
            .append("labelNote", getLabelNote())
            .append("labelTime", getLabelTime())
            .toString();
    }
}
